﻿<%@ Page Title="Invoice Entry" Language="C#" MasterPageFile="~/AuditBillingMaster.master" AutoEventWireup="true" CodeFile="Invoice.aspx.cs" Inherits="Invoice" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script src="../JS/Forms/jsInvoice.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cntList" runat="Server">
    <input type="hidden" id="hdnInvoiceID" runat="server" value="0" clientidmode="Static" />
    <asp:HiddenField ID="hdnCompletedContractPer" runat="server" ClientIDMode="Static" />
    <asp:HiddenField ID="hdnTotalContractAmount" runat="server" ClientIDMode="Static" />
    <asp:HiddenField ID="hdnMaxContractInvoice" runat="server" ClientIDMode="Static" />
    <asp:HiddenField ID="hdnCompletedInvAmount" runat="server" ClientIDMode="Static" />
    <asp:HiddenField ID="hdnServiceTaxPer" runat="server" ClientIDMode="Static" />

    <div class="pagecontent">
        <div class="headercontainer">
            <div class="headertextcontainer halfpanel">
                Invoice
            </div>
            <div class="headerbuttoncontainer halfpanel">
                <a id="A1" href='javascript:void(0);' onclick="toggle_TopContainer();" tabindex="12" class="headersearchbutton" title="Toggle Search Panel" runat="server">Search</a>&nbsp;&nbsp;
                <a runat="server" href='javascript:void(0);' id="lnkAdd" tabindex="12" clientidmode="Static" class="headeraddbutton" title="Add Invoice"
                    onclick='javascript:ShowEditDiv(0,this);'>Add Invoice</a>
                <a href="Invoice.aspx?Excel" class="headerexportbutton" tabindex="13">Export To Excel</a>

            </div>
        </div>
        <div id="divTopContainer" class="topcontainerwrapper">
            <div class="topcontainerSmall" onkeypress="javascript:return fireDefaultButton(event, 'btnSearch')">
                <div class="halfpanel">
                    <div class="row">
                        <asp:DropDownList ID="cboCompany" ClientIDMode="Static" runat="server" TabIndex="2" multiple="multiple" placeholder="All Companies"
                            CssClass="searchCntrl" Width="70%">
                        </asp:DropDownList>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <asp:DropDownList ID="cboContract" ClientIDMode="Static" runat="server" TabIndex="4" multiple="multiple" placeholder="All Contracts"
                            CssClass="searchCntrl" Width="70%">
                        </asp:DropDownList>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <asp:TextBox ID="txtInvoiceNo" runat="server" ClientIDMode="Static" MaxLength="50"
                            TabIndex="6" CssClass="searchCntrl" placeholder="Enter Invoice #"></asp:TextBox>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <div class="labelPad4">
                            Invoice Start Date
                        </div>
                        <div class="value">
                            <div class="input-append date">
                                <asp:TextBox ID="txtInvoiceStartDate" runat="server" ClientIDMode="Static" MaxLength="50"
                                    onclick="show_DateCalender('txtInvoiceStartDate');" TabIndex="8" CssClass="dateinput"
                                    ReadOnly="true" placeholder="dd/mm/yyyy" onkeydown="javascript:return clearDates(event);"></asp:TextBox>
                                <span class="add-on" id="Span8" onclick="show_DateCalender('txtInvoiceStartDate');" style="float: right"><i
                                    class="icon-th"></i></span>
                            </div>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <div class="labelPad4">
                            Invoice End Date
                        </div>
                        <div class="value">
                            <div class="input-append date">
                                <asp:TextBox ID="txtInvoiceEndDate" runat="server" ClientIDMode="Static" MaxLength="50"
                                    onclick="show_DateCalender('txtInvoiceEndDate');" TabIndex="10" CssClass="dateinput"
                                    ReadOnly="true" placeholder="dd/mm/yyyy" onkeydown="javascript:return clearDates(event);"></asp:TextBox>
                                <span class="add-on" id="Span5" onclick="show_DateCalender('txtInvoiceEndDate');" style="float: right"><i
                                    class="icon-th"></i></span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="halfpanel">
                    <div class="row">
                        <asp:DropDownList ID="cboClient" ClientIDMode="Static" runat="server" TabIndex="3" multiple="multiple" placeholder="All Clients"
                            CssClass="searchCntrl" Width="70%">
                        </asp:DropDownList>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <asp:DropDownList ID="cboPaymentMode" ClientIDMode="Static" runat="server" TabIndex="5" multiple="multiple" placeholder="All Payment Modes"
                            CssClass="searchCntrl" Width="70%">
                        </asp:DropDownList>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <asp:TextBox ID="txtContractNo" runat="server" ClientIDMode="Static" MaxLength="50"
                            TabIndex="7" CssClass="searchCntrl" placeholder="Enter Contract #"></asp:TextBox>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <asp:DropDownList ID="cboCompletedStatus" ClientIDMode="Static" runat="server" TabIndex="9" placeholder="All Status"
                            CssClass="searchCntrl" Width="70%">
                            <asp:ListItem Value="2" Text="Both [Yes / No]"></asp:ListItem>
                            <asp:ListItem Value="1" Text="Completed: No" Selected="True"></asp:ListItem>
                            <asp:ListItem Value="0" Text="Completed: Yes"></asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                    </div>
                </div>
                <div class="fullpanel textalignright">
                    <a tabindex="9" class="btn-search-clear" onclick="clear_form_elements('divTopContainer');" onkeypress="clear_form_elements_ForTab(event,'divTopContainer');" href="javascript:void(0);">Clear</a>
                    <input type="button" id="btnSearch" tabindex="11" class="btn-search" onclick="javascript: return fn_GetSearchResult(0);"
                        value="Search" title="Search" />
                </div>
            </div>
            <a href='javascript:void(0);' class="closedivSmall" onclick="toggle_TopContainer();" title="Toggle Search Panel" tabindex="11"><i class="fa fa-chevron-up"></i></a>
        </div>
        <div class="maincontainer">
            <div class="listpagediv" id="divResult">
                <asp:GridView ID="grdResult" runat="server" ClientIDMode="Static" AutoGenerateColumns="false" Width="90%" CssClass="listdiv" DataKeyNames="TrnInvoiceID" OnRowDataBound="grdResult_RowDataBound">
                    <Columns>
                        <asp:BoundField DataField="TrnInvoiceID" HeaderText="Invoice ID" />
                        <asp:BoundField DataField="TrnContractID" HeaderText="Contract ID" />
                        <asp:BoundField DataField="CompanyID" HeaderText="Company ID" />
                        <asp:BoundField DataField="ClientID" HeaderText="Client ID" />
                        <asp:BoundField DataField="ContractID" HeaderText="Contract ID" />
                        <asp:BoundField DataField="PaymentModeID" HeaderText="PaymentMode ID" />
                        <asp:BoundField DataField="PaymentLevelID" HeaderText="Payment Level ID" />
                        <asp:BoundField DataField="PaymentLevelName" HeaderText="Payment Level" />

                        <asp:BoundField HeaderText="Sr." ItemStyle-HorizontalAlign="Center" />
                        <asp:TemplateField HeaderText="Action" ItemStyle-HorizontalAlign="Center">
                            <ItemStyle Wrap="false" />
                            <ItemTemplate>
                                <a class="btn-edit" href="javascript:void(0);" onclick="return ShowEditDiv(<%#Eval("TrnInvoiceID") %>,this);" title="Edit"><i class="fa fa-pencil" title="Edit"></i></a>&nbsp;
                                <%#( TrynParse.parseBool(Eval("AllowForDelete")) == true?
                                string.Concat("<a class='btn-edit' href='javascript:void(0);' onclick='return DeleteRec(",Eval("TrnInvoiceID"),");' title='Delete'><i class='fa fa-trash-o' title='Edit'></i></a>") : "<font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>") %>
                                <a class="btn-edit" href="javascript:void(0);" onclick="return ShowDownloadPopup(<%#Eval("TrnInvoiceID") %>);" title="Edit"><i class="fa fa-file-pdf-o" title="Download Invoice"></i></a>
                            </ItemTemplate>
                        </asp:TemplateField>

                        <asp:BoundField DataField="CompanyName" HeaderText="Company" />
                        <asp:BoundField DataField="ClientName" HeaderText="Client" />
                        <asp:BoundField DataField="ContractName" HeaderText="Contract" />
                        <asp:BoundField DataField="PaymentModeName" HeaderText="Payment Mode" />
                        <asp:BoundField DataField="ContractNo" HeaderText="Contract #" />
                        <asp:BoundField DataField="InvoiceNo" HeaderText="Invoice #" />
                        <asp:BoundField DataField="InvoiceDate" HeaderText="Invoice Date" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="PaymentLevelPer" HeaderText="Contract %" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:#0}" />

                        <asp:BoundField DataField="GrossInvoiceAmount" HeaderText="Gross Amt." ItemStyle-HorizontalAlign="Right" DataFormatString="{0:#0}" />
                        <asp:BoundField DataField="ServiceTaxPer" HeaderText="Service Tax %" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:#0.00}" />
                        <asp:BoundField DataField="ServiceTaxAmount" HeaderText="Service Tax Amt." ItemStyle-HorizontalAlign="Right" DataFormatString="{0:#0}" />
                        <asp:BoundField DataField="FinalInvoiceAmount" HeaderText="Final Invoice Amt." ItemStyle-HorizontalAlign="Right" DataFormatString="{0:#0}" />

                        <asp:TemplateField HeaderText="Completed" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <%#(Convert.ToBoolean(Eval("IsCompleted")) == true ? "Yes" : "No") %>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>

        </div>
    </div>
    <div class="modalopenConfirmDel modalopenInvoice modalopen650by200" style="display: none;">
    </div>

    <div id="divInsertEdit" class="modalinvoice" onkeypress="javascript:return fireDefaultButton(event, 'btnSave')">
        <div class="form">
            <div class="innercontent">
                <div class="halfpanel">
                    <div class="row">
                        <div class="midium-label">
                            Company&nbsp;&nbsp;<span class="red">*</span>
                        </div>
                        <div class="midium-value">
                            <div>
                                <asp:DropDownList ID="cboAddCompany" ClientIDMode="Static" runat="server" TabIndex="101" CssClass="searchCntrl" Width="70%" onchange="fn_FillClients()">
                                    <asp:ListItem Value="0" Text="[Select Company]"></asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <asp:RequiredFieldValidator ID="rfvcboCompanyAdd" runat="server" Display="Dynamic" ClientIDMode="Static"
                                ControlToValidate="cboAddCompany" ValidationGroup="vgSave" ErrorMessage="Select Company" InitialValue="0"
                                Width="90%"><span class="error">Select company</span></asp:RequiredFieldValidator>
                        </div>
                    </div>

                    <div class="clear"></div>
                    <div class="row">
                        <div class="midium-label">
                            Client&nbsp;&nbsp;<span class="red">*</span>
                        </div>
                        <div class="midium-value">
                            <div>
                                <asp:DropDownList ID="cboAddClient" ClientIDMode="Static" runat="server" TabIndex="102" CssClass="searchCntrl" Width="70%" onchange="fn_FillContracts()">
                                    <asp:ListItem Value="0" Text="[Select Contract]"></asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <asp:RequiredFieldValidator ID="rfvcboAddClient" runat="server" Display="Dynamic" ClientIDMode="Static"
                                ControlToValidate="cboAddClient" ValidationGroup="vgSave" ErrorMessage="Select Client" InitialValue="0"
                                Width="90%"><span class="error">Select client</span></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <div class="midium-label">
                            Contract&nbsp;&nbsp;<span class="red">*</span>
                        </div>
                        <div class="midium-value">
                            <div>
                                <asp:DropDownList ID="cboAddContract" ClientIDMode="Static" runat="server" TabIndex="103" CssClass="searchCntrl" Width="70%" onchange="fn_FillTrnContracts()">
                                    <asp:ListItem Value="0" Text="[Select Contract]"></asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <asp:RequiredFieldValidator ID="rfvcboAddContract" runat="server" Display="Dynamic" ClientIDMode="Static"
                                ControlToValidate="cboAddContract" ValidationGroup="vgSave" ErrorMessage="Select Contract" InitialValue="0"
                                Width="90%"><span class="error">Select contract</span></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <div class="midium-label">
                            Contract No&nbsp;&nbsp;<span class="red">*</span>
                        </div>
                        <div class="midium-value">
                            <div>
                                <asp:DropDownList ID="cboAddTrnContract" ClientIDMode="Static" runat="server" TabIndex="103" CssClass="searchCntrl" Width="70%" onchange="fn_FillTrnContractDetails()">
                                    <asp:ListItem Value="0" Text="[Select Contract No]"></asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <asp:RequiredFieldValidator ID="rfvcboAddTrnContract" runat="server" Display="Dynamic" ClientIDMode="Static"
                                ControlToValidate="cboAddTrnContract" ValidationGroup="vgSave" ErrorMessage="Select Contract" InitialValue="0"
                                Width="90%"><span class="error">Select contract no.</span></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <div class="midium-label">
                            Payment Mode
                        </div>
                        <div class="midium-value">
                            <asp:HiddenField ID="hdnPaymentModeID" runat="server" ClientIDMode="Static" />
                            <asp:Label ID="lblPaymentMode" runat="server" ClientIDMode="Static"></asp:Label>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <div class="midium-label">
                            Payment Level
                        </div>
                        <div class="midium-value">
                            <asp:HiddenField ID="hdnPaymentLevelID" runat="server" ClientIDMode="Static" />
                            <asp:Label ID="lblPaymentLevel" runat="server" ClientIDMode="Static"></asp:Label>

                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        &nbsp;
                    </div>
                </div>
                <div class="halfpanel">
                    <div class="clear"></div>
                    <div class="row">
                        <div class="midium-label">
                            Invoice Date&nbsp;&nbsp;<span class="red">*</span>
                        </div>
                        <div class="midium-value">
                            <div class="input-append date">
                                <asp:TextBox ID="txtAddInvoiceDate" runat="server" ClientIDMode="Static" MaxLength="50"
                                    onclick="show_DateCalender('txtAddInvoiceDate');" TabIndex="105" CssClass="dateinput"  onchange="fn_GetServiceTaxPer()"
                                    ReadOnly="true" placeholder="dd/mm/yyyy" onkeydown="javascript:return clearDates(event);"></asp:TextBox>
                                <span class="add-on" id="Span2" onclick="show_DateCalender('txtAddInvoiceDate');" style="float: right"><i
                                    class="icon-th"></i></span>
                            </div>
                            <asp:RequiredFieldValidator ID="rftxtAddInvoiceDate" runat="server" Display="Dynamic" ClientIDMode="Static"
                                ControlToValidate="txtAddInvoiceDate" ValidationGroup="vgSave" ErrorMessage="Enter Invoice Date" InitialValue=""
                                Width="90%"><span class="error">Enter invoice date</span></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <div class="midium-label">
                            Contract Amount
                        </div>
                        <div class="midium-value">
                            <asp:Label ID="lblContractAmount" runat="server" ClientIDMode="Static"></asp:Label>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <div class="midium-label">
                            Contract %&nbsp;&nbsp;<span class="red">*</span>
                        </div>
                        <div class="midium-value">
                            <asp:TextBox ID="txtAddContractPer" runat="server" ClientIDMode="Static" Width="97%" onchange="fn_ValidateValues('ContractPer');"
                                MaxLength="50" placeholder="Enter Contract %" CssClass="input" TabIndex="101"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvtxtAddContractPer" runat="server" Display="Dynamic" ClientIDMode="Static"
                                ControlToValidate="txtAddContractPer" ValidationGroup="vgSave" ErrorMessage="Enter Contract %" InitialValue=""
                                Width="90%"><span class="error">Enter contract %</span></asp:RequiredFieldValidator>
                            <asp:RequiredFieldValidator ID="rfvtxtAddContractPer1" runat="server" Display="Dynamic" ClientIDMode="Static"
                                ControlToValidate="txtAddContractPer" ValidationGroup="vgSave" ErrorMessage="Enter Contract %" InitialValue="0"
                                Width="90%"><span class="error">Enter contract %</span></asp:RequiredFieldValidator>
                            <asp:CustomValidator ID="cvtxtAddContractPer" runat="server" ClientIDMode="Static" ControlToValidate="txtAddContractPer"
                                ClientValidationFunction="fn_ValidateExpressionTextbox" ValidationGroup="vgSave" ValidateEmptyText="false" expressionid="NumDel"
                                Display="Dynamic" Width="90%"><span id="Span1" class="error"></span></asp:CustomValidator>
                            <asp:CustomValidator ID="cvtxtAddContractPer1" runat="server" ClientIDMode="Static" ControlToValidate="txtAddContractPer"
                                ClientValidationFunction="fn_ValidateContractPer" ValidationGroup="vgSave" ValidateEmptyText="false" expressionid="NumDel"
                                Display="Dynamic" Width="90%"><span id="Span4" class="error"></span></asp:CustomValidator>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <div class="midium-label">
                            Gross Invoice Amt&nbsp;&nbsp;<span class="red">*</span>
                        </div>
                        <div class="midium-value">
                            <asp:TextBox ID="txtGrossInvoiceAmt" runat="server" ClientIDMode="Static" Width="97%" onchange="fn_ValidateValues('GrossInvAmt');"
                                MaxLength="50" placeholder="Enter Gross Invoice Amt" CssClass="input" TabIndex="101"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvtxtGrossInvoiceAmt" runat="server" Display="Dynamic" ClientIDMode="Static"
                                ControlToValidate="txtGrossInvoiceAmt" ValidationGroup="vgSave" ErrorMessage="Enter Gross Invoice Amt." InitialValue=""
                                Width="90%"><span class="error">Enter gross invoice amt.</span></asp:RequiredFieldValidator>
                            <asp:RequiredFieldValidator ID="rfvtxtGrossInvoiceAmt1" runat="server" Display="Dynamic" ClientIDMode="Static"
                                ControlToValidate="txtGrossInvoiceAmt" ValidationGroup="vgSave" ErrorMessage="Enter Gross Invoice Amt." InitialValue="0"
                                Width="90%"><span class="error">Enter gross invoice amt.</span></asp:RequiredFieldValidator>
                            <asp:CustomValidator ID="cvtxtGrossInvoiceAmt" runat="server" ClientIDMode="Static" ControlToValidate="txtGrossInvoiceAmt"
                                ClientValidationFunction="fn_ValidateExpressionTextbox" ValidationGroup="vgSave" ValidateEmptyText="false" expressionid="NumDel"
                                Display="Dynamic" Width="90%"><span id="Span3" class="error"></span></asp:CustomValidator>
                            <asp:CustomValidator ID="cvtxtGrossInvoiceAmt1" runat="server" ClientIDMode="Static" ControlToValidate="txtGrossInvoiceAmt"
                                ClientValidationFunction="fn_ValidateInvoiceAmount" ValidationGroup="vgSave" ValidateEmptyText="false" expressionid="NumDel"
                                Display="Dynamic" Width="90%"><span id="Span6" class="error"></span></asp:CustomValidator>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <div class="midium-label">
                            Service Tax %
                        </div>
                        <div class="midium-value">
                            <div style="float: left;padding: 2px;margin-right: 5px;">
                                <asp:CheckBox ID="chkIsServiceTax" runat="server" ClientIDMode="Static" onchange="fn_ServiceTaxEnable();" ToolTip="Click here to allow service tax for invoice" />

                            </div>
                            <asp:TextBox ID="txtAddServiceTaxPer" runat="server" ClientIDMode="Static" Width="86%" onchange="fn_ValidateValues('ContractPer');" ReadOnly="true" Enabled="false"
                                MaxLength="50" placeholder="Service Tax %" CssClass="input" TabIndex="101"></asp:TextBox>
                            <asp:CustomValidator ID="cvtxtAddServiceTaxPer" runat="server" ClientIDMode="Static" ControlToValidate="txtAddServiceTaxPer"
                                ClientValidationFunction="fn_ValidateExpressionTextbox" ValidationGroup="vgSave" ValidateEmptyText="false" expressionid="NumDel"
                                Display="Dynamic" Width="90%"><span id="lbl1" class="error"></span></asp:CustomValidator>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <div class="midium-label">
                            Service Tax Amt.
                        </div>
                        <div class="midium-value">
                            <asp:TextBox ID="txtServiceTaxAmt" runat="server" ClientIDMode="Static" Width="97%" ReadOnly="true"
                                MaxLength="50" placeholder="Service Tax Amt" CssClass="input" TabIndex="101"></asp:TextBox>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="row">
                        <div class="midium-label">
                            Final Invoice Amt.
                        </div>
                        <div class="midium-value">
                            <asp:TextBox ID="txtFinalInvoiceAmt" runat="server" ClientIDMode="Static" Width="97%" ReadOnly="true"
                                MaxLength="50" placeholder="Final Invoice Amt." CssClass="input" TabIndex="101"></asp:TextBox>
                        </div>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="pagefooter">
                    <center>
                        <input type="button" id="btnSave" onclick="javascript: return fn_SaveDetails();"
                            tabindex="108" value="Save" validationgroup="vgSave" class="btn-primary" />
                    </center>
                </div>
            </div>
        </div>
    </div>

    <div class="modal650by200" id="divInvoiceNumber" title="Invoice #">
        <br />
        <span id="spInvoiceNumber" style="font-size: 14px;"></span>
        <br />
        <div style="float: right; margin-top: 15px;">
            <a id="cmdPrintRedirectToListWithHeader" class="modalicon" style="color: #C84241;" target="_blank">
                <i class="fa fa-file-pdf-o"></i>&nbsp;Download Invoice With Header</a>&nbsp;&nbsp;
             <a id="cmdPrintRedirectToList" class="modalicon" style="color: #C84241;" target="_blank">
                 <i class="fa fa-file-pdf-o"></i>&nbsp;Download Invoice</a>&nbsp;&nbsp;
            <a id="cmdDownloadContract" class="modalicon" target="_blank">
                <i class="fa fa-file-pdf-o"></i>&nbsp;Download Contract </a>
        </div>
    </div>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cntMain" runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="FootContent" runat="Server">
</asp:Content>

